local skel = fk.CreateSkill {
  name = "efengqi__jiuyuan",
  tags = {Skill.Compulsory, Skill.Lord},
}

Fk:loadTranslationTable{
  ["efengqi__jiuyuan"] = "救援",
  [":efengqi__jiuyuan"] = "主公技，锁定技，其他角色对你使用【桃】时，你摸一张牌，若为吴势力角色，令之多结算一次。",

  ["$efengqi__jiuyuan1"] = "你们真是朕的得力干将。",
  ["$efengqi__jiuyuan2"] = "有爱卿在，朕无烦忧。",
}

skel:addEffect(fk.TargetConfirmed, {
  anim_type = "defensive",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(skel.name) and data.card.trueName == "peach" and target == player and data.from and data.from ~= player
  end,
  on_use = function (self, event, target, player, data)
    local room = player.room
    player:drawCards(1, skel.name)
    local from = data.from
    if from.kingdom == "wu" then
      data.use.additionalEffect = (data.use.additionalEffect or 0) + 1
    end
  end
})



return skel
